package com.zhanglu.fun.services.datacenter.entity;

import com.zhanglu.fun.services.datacenter.enums.ThreadsGroup;
import com.zhanglu.fun.services.datacenter.enums.ThreadsStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @description 主题信息表,包括标题、分类、发帖时间等
 * @author zhanglu
 * @date 2017/6/26 22:43
 */
@Getter
@Setter
@ToString(callSuper = true)
@ApiModel(value = "主题数据模型")
public class ForumThread extends BaseEntity {
    @ApiModelProperty("标题")
    private String        title;
    @ApiModelProperty("内容")
    private String        content;
    @ApiModelProperty("发帖人昵称")
    private String        nickName;
    @ApiModelProperty("图片路径，分号隔开")
    private String        imgUrl;
    @ApiModelProperty("帖子分组")
    private ThreadsGroup  threadGroup;
    @ApiModelProperty("帖子状态")
    private ThreadsStatus status;
    @ApiModelProperty("点赞次数")
    private Integer thumbUp = 0;
}
